<?php
// Copyright 2019 Hackware SpA <https://hackware.cl>.
// This file is part of "Hackware's Digital Wallet" and licensed under the
// terms of the GNU Affero General Public License version 3, or (at your
// option) a later version. You should have received a copy of this license
// along with the software. If not, see <https://www.gnu.org/licenses/>.

namespace Hawese\Seeds;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $seeds = [UsersTableSeeder::class];
        if (class_exists(\Hawese\Wallet\Currency::class)) {
            $seeds[] = CurrenciesTableSeeder::class;
        }
        $this->call($seeds);
    }
}
